package homework_07.homework_Car;

public abstract class Automoblie {
    private String brand;
    private int dayRent;

    public Automoblie(String brand,int dayRent) {
        this.brand=brand;
        this.dayRent=dayRent;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getDayRent() {
        return dayRent;
    }

    public void setDayRent(int dayRent) {
        this.dayRent = dayRent;
    }
    public abstract int rent(int days);
}
